package cn.wdm.ymcc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
//在分布式事务seata配置时，排除原生的datasource四大金刚配置。
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class})
//开启nacos
@EnableDiscoveryClient
//扫描feign接口
@EnableFeignClients("cn.wdm.ymcc.feign")
public class UserStart {
    public static void main(String[] args) {
        SpringApplication.run(UserStart.class);
    }
}
